FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource CapabilityStatement/FHIR Server from package hl7.fhir.us.meds#1.2.0 (63 ms)

Package hl7.fhir.us.meds
Type CapabilityStatement
Id Id
FHIR Version R3
Source http://hl7.org/fhir/us/meds/http://hl7.org/fhir/us/meds/STU2/CapabilityStatement-server.html
Url http://hl7.org/fhir/us/meds/CapabilityStatement/server
Version 1.2.0
Status draft
Date 2017-03-08T00:00:00-05:00
Name US Meds Server
Experimental False
Realm us
Authority hl7
Description This resource defines the expected capabilities of the US Meds Server actor when conforming to the US Meds IG and It is expected that it will be used in conjuction with the US Core CapabilityStatement. Together they describe the complete list of actual profiles, RESTful operations, and search parameters supported by US Meds Servers. US Meds Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.
Kind requirements

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

Conformance requirements for the US Meds Server

  • FHIR Version: 3.0.0
  • Supported formats: xml, json
  • Published: 2017-03-08
  • Published by: Health Level Seven International Pharmacy Work Group

The section describes the expected capabilities of the US Meds Server actor which is responsible for providing responses to the queries submitted by the US Med Client applications. It is expected that this CapabilityStatement will be used with the US Core CapabilityStatement. Together they describe the complete list of FHIR profiles, RESTful operations, and search parameters supported by US Meds Servers. US Meds Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.

Behavior

Description: The US Meds Server SHALL:

  • Support the US Core Patient resource profile.
  • At a minimum, support the US Core MedicationStatement Profile.
  • Implement the RESTful behavior according to the FHIR specification.
  • Return the following response classes:
    • (Status 200): successful operation
    • (Status 400): invalid parameter
    • (Status 401/4xx): unauthorized request
    • (Status 403): insufficient scope
    • (Status 404): unknown resource
    • (Status 410): deleted resource.
  • Support json resource formats for all US Meds interactions.
  • Declare a CapabilityStatement identifying the list of profiles, operations, and search parameters supported.

The US Meds Server SHOULD:

  • Support the following US Core and US Meds resource profiles:
    • US Core Medication
    • US Meds MedicationAdministration
    • US Meds MedicationDispense
    • US Core MedicationRequest
  • Support xml resource formats for all US Meds interactions.
  • Identify the US Core profile(s) and US Meds profiles supported as part of the FHIR meta.profile attribute for each instance.

The US Meds Server MAY:

  • Support other US Core and US Meds resource profile

Security:

US Meds Servers SHALL:

  • Implement the security requirements documented in the US-Core IG.
  • A server has ensured that every API request includes a valid Authorization token, supplied via: Authorization: Bearer {server-specific-token-here}
  • A server has rejected any unauthorized requests by returning an HTTP 401 Unauthorized response code.

Profile Interaction Summary:

  • All servers SHALL make available the read and search interactions for the Profiles the server chooses to support.
  • All servers SHOULD make available the vread and history-instance interactions for the Profiles the server chooses to support.

Summary of US Meds search criteria

Specific server search capabilities are described in detail below in each of the resource sections. The MedicationAdministration, MedicationDispense, MedicationStatement and MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing a Medication resource, the resource may be contained or an external resource. The server application can choose any one way or more than one method, but if the an external reference to Medication is used, the server SHALL support the _include parameter for searching this element. The client application must support all methods.

Resource Type Supported Profiles Supported Searches Supported _includes
Medication US Core Medication Profile
MedicationAdministration US Meds MedicationAdministration Profile patient MedicationAdministration:medication
MedicationDispense US Meds MedicationDispense Profile patient MedicationDispense:medication
MedicationRequest US Core MedicationRequest Profile patient, status, patient + status MedicationRequest:medication
MedicationStatement US Core MedicationStatement Profile patient, status, context, patient + status, patient + context MedicationStatement:medication

Resource Details:

1. Medication

Supported Profiles: US Core Medication Profile

2. MedicationAdministration

Supported Profiles: US Meds MedicationAdministration Profile

Search Criteria:

A server SHALL be capable of fetching a patient’s administered medications using one of or both:

  • GET /MedicationAdministration?patient=[id]
  • GET /MedicationAdministration?patient=[id]&_include=MedicationAdministration:medication

Search Parameters:

Conformance Parameter Type _include (see documentation) Modifiers
SHALL patient reference MedicationAdministration:medication
3. MedicationDispense

Supported Profiles: US Meds MedicationDispense Profile

Search Criteria:

A server SHALL be capable of returning a patient’s dispensed medications using one of or both:

  • GET /MedicationDispense?patient=[id]
  • GET /MedicationDispense?patient=[id]&_include=MedicationDispense:medication
Conformance Parameter Type _include (see documentation) Modifiers
SHALL patient reference MedicationDispense:medication
4. MedicationRequest

Supported Profiles: US Core MedicationRequest Profile

Search Criteria:

A server SHALL be capable of returning a patient’s active medications orders using one of or both:

  • GET /MedicationRequest?patient=[id]
  • GET /MedicationRequest?patient=[id]&_include=MedicationRequest:medication

Search Parameters:

Conformance Parameter Type _include (see documentation) Modifiers
SHALL status + status reference + token MedicationRequest:medication
5. MedicationStatement

Supported Profiles: US Core MedicationStatement Profile

Search Criteria:

A server SHALL be capable of returning all medications for a patient using one of or both:

  • GET /MedicationStatement?patient=[id]
  • GET /MedicationStatement?patient=[id]&_include=MedicationStatement:medication

A server SHALL be capable of returning all active medications for a patient using:

  • GET /MedicationStatement?patient=[id]&status=active
  • GET /MedicationStatement?patient=[id]&status=active&_include=MedicationStatement:medication

A server SHALL be capable of returning all medications for a patient for an encounter using:

  • GET /MedicationStatement?patient=[id]&context=[id]
  • GET /MedicationStatement?patient=[id]&context=[id]&_include=MedicationStatement:medication

Search Parameters:

Conformance Parameter Type _include (see documentation) Modifiers
SHALL patient reference MedicationStatement:medication
SHALL patient + status reference + token MedicationStatement:medication
SHALL patient + context reference MedicationStatement:medication



Source

{
  "resourceType" : "CapabilityStatement",
  "id" : "server",
  "text" : {
    "status" : "additional",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n\t\t\t<ul id=\"markdown-toc\">\n\t\t\t\t<li>\n\t\t\t\t\t<a href=\"#conformance-requirements-for-the-us-meds-server\" id=\"markdown-toc-conformance-requirements-for-the-us-meds-server\">Conformance requirements for the US Meds Server</a>\n\t\t\t\t\t<ul>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<a href=\"#behavior\" id=\"markdown-toc-behavior\">Behavior</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<a href=\"#security\" id=\"markdown-toc-security\">Security:</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<a href=\"#profile-interaction-summary\" id=\"markdown-toc-profile-interaction-summary\">Profile Interaction Summary:</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<a href=\"#resource--details\" id=\"markdown-toc-resource--details\">Resource Details:</a>\n\t\t\t\t\t\t\t<ul>\n\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t<a href=\"#medication\" id=\"markdown-toc-medication\">1. Medication</a>\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t<a href=\"#medicationadministration\" id=\"markdown-toc-medicationadministration\">2. MedicationAdministration</a>\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t<a href=\"#medicationdispense\" id=\"markdown-toc-medicationdispense\">3. MedicationDispense</a>\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t<a href=\"#medicationrequest\" id=\"markdown-toc-medicationrequest\">4. MedicationRequest</a>\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t<a href=\"#medicationstatement\" id=\"markdown-toc-medicationstatement\">5. MedicationStatement</a>\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t\t\n\t\t\t<h3 id=\"conformance-requirements-for-the-us-meds-server\">Conformance requirements for the US Meds Server</h3>\n\t\t\t<ul>\n\t\t\t\t<li>FHIR Version: 3.0.0</li>\n\t\t\t\t<li>Supported formats: xml, json</li>\n\t\t\t\t<li>Published: 2017-03-08</li>\n\t\t\t\t<li>Published by: Health Level Seven International Pharmacy Work Group</li>\n\t\t\t</ul>\n\t\t\t<p>The section describes the expected capabilities of the US Meds Server actor which is responsible for providing responses to the queries submitted by the US Med Client applications. It is expected that this CapabilityStatement will be used with the <a href=\"http://hl7.org/fhir/us/core/capstmnts.html\">US Core CapabilityStatement</a>. Together they describe the complete list of FHIR profiles, RESTful operations, and search parameters supported by US Meds Servers. US Meds Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.</p>\n\t\t\t<h4 id=\"behavior\">Behavior</h4>\n\t\t\t<p>Description: The US Meds Server <strong>SHALL</strong>:</p>\n\t\t\t<ul>\n\t\t\t\t<li>Support the <a href=\"http://hl7.org/fhir/us/core/StructureDefinition-us-core-patient.html\">US Core Patient</a> resource profile.</li>\n\t\t\t\t<li>At a minimum, support the US Core MedicationStatement Profile.</li>\n\t\t\t\t<li>Implement the RESTful behavior according to the FHIR specification.</li>\n\t\t\t\t<li>Return the following response classes:\n <ul>\n\t\t\t\t\t\t<li>(Status 200): successful operation</li>\n\t\t\t\t\t\t<li>(Status 400): invalid parameter</li>\n\t\t\t\t\t\t<li>(Status 401/4xx): unauthorized request</li>\n\t\t\t\t\t\t<li>(Status 403): insufficient scope</li>\n\t\t\t\t\t\t<li>(Status 404): unknown resource</li>\n\t\t\t\t\t\t<li>(Status 410): deleted resource.</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</li>\n\t\t\t\t<li>Support <em>json</em> resource formats for all US Meds interactions.</li>\n\t\t\t\t<li>Declare a CapabilityStatement identifying the list of profiles, operations, and search parameters supported.</li>\n\t\t\t</ul>\n\t\t\t<p>The US Meds Server <strong>SHOULD</strong>:</p>\n\t\t\t<ul>\n\t\t\t\t<li>Support the following US Core and US Meds resource profiles:\n <ul>\n\t\t\t\t\t\t<li>US Core Medication</li>\n\t\t\t\t\t\t<li>US Meds MedicationAdministration</li>\n\t\t\t\t\t\t<li>US Meds MedicationDispense</li>\n\t\t\t\t\t\t<li>US Core MedicationRequest</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</li>\n\t\t\t\t<li>Support <em>xml</em> resource formats for all US Meds interactions.</li>\n\t\t\t\t<li>Identify the US Core profile(s) and US Meds profiles supported as part of the FHIR <code class=\"highlighter-rouge\">meta.profile</code> attribute for each instance.</li>\n\t\t\t</ul>\n\t\t\t<p>The US Meds Server <strong>MAY</strong>:</p>\n\t\t\t<ul>\n\t\t\t\t<li>Support other US Core and US Meds resource profile</li>\n\t\t\t</ul>\n\t\t\t<h4 id=\"security\">Security:</h4>\n\t\t\t<p>US Meds Servers <strong>SHALL</strong>:</p>\n\t\t\t<ul>\n\t\t\t\t<li>Implement the security requirements documented in the <a href=\"http://hl7.org/fhir/us/core/security.html\">US-Core IG</a>.</li>\n\t\t\t\t<li>A server has ensured that every API request includes a valid Authorization token, supplied via: <code class=\"highlighter-rouge\">Authorization: Bearer {server-specific-token-here}</code>\n\t\t\t\t</li>\n\t\t\t\t<li>A server has rejected any unauthorized requests by returning an <code class=\"highlighter-rouge\">HTTP 401</code> Unauthorized response code.</li>\n\t\t\t</ul>\n\t\t\t<h4 id=\"profile-interaction-summary\">Profile Interaction Summary:</h4>\n\t\t\t<ul>\n\t\t\t\t<li>All servers <strong>SHALL</strong> make available the <a href=\"https://hl7.org/fhir/STU3/http.html#read.html\">read</a> and <a href=\"http://hl7.org/fhir/STU3/http.html#search\">search</a> interactions for the Profiles the server chooses to support.</li>\n\t\t\t\t<li>All servers <strong>SHOULD</strong> make available the <a href=\"https://hl7.org/fhir/STU3/http.html#vread.html\">vread</a> and <a href=\"http://hl7.org/fhir/STU3/http.html#history\">history-instance</a> interactions for the Profiles the server chooses to support.</li>\n\t\t\t</ul>\n\t\t\t<p>\n\t\t\t\t<strong>Summary of US Meds search criteria</strong>\n\t\t\t</p>\n\t\t\t<p>Specific server search capabilities are described in detail below in each of the resource sections. The MedicationAdministration, MedicationDispense, MedicationStatement and MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing a Medication resource, the resource may be contained or an external resource. The server application can choose any one way or more than one method, but <em>if</em> the an external reference to Medication is used, the server <strong>SHALL</strong> support the <a href=\"http://hl7.org/fhir/STU3/http.html#include\">\n\t\t\t\t\t<code class=\"highlighter-rouge\">_include</code>\n\t\t\t\t</a> parameter for searching this element. The client application must support all methods.</p>\n\t\t\t<table class=\"grid\">\n\t\t\t\t<thead>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<th>Resource Type</th>\n\t\t\t\t\t\t<th>Supported Profiles</th>\n\t\t\t\t\t\t<th>Supported Searches</th>\n\t\t\t\t\t\t<th>Supported _includes</th>\n\t\t\t\t\t</tr>\n\t\t\t\t</thead>\n\t\t\t\t<tbody>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t<a href=\"#medication\">Medication</a>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td>US Core Medication Profile</td>\n\t\t\t\t\t\t<td> </td>\n\t\t\t\t\t\t<td> </td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t<a href=\"#medicationadministration\">MedicationAdministration</a>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td>US Meds MedicationAdministration Profile</td>\n\t\t\t\t\t\t<td>patient</td>\n\t\t\t\t\t\t<td>MedicationAdministration:medication</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t<a href=\"#medicationdispense\">MedicationDispense</a>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td>US Meds MedicationDispense Profile</td>\n\t\t\t\t\t\t<td>patient</td>\n\t\t\t\t\t\t<td>MedicationDispense:medication</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t<a href=\"#medicationrequest\">MedicationRequest</a>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td>US Core MedicationRequest Profile</td>\n\t\t\t\t\t\t<td>patient, status, patient + status</td>\n\t\t\t\t\t\t<td>MedicationRequest:medication</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t<a href=\"#medicationstatement\">MedicationStatement</a>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td>US Core MedicationStatement Profile</td>\n\t\t\t\t\t\t<td>patient, status, context, patient + status, patient + context</td>\n\t\t\t\t\t\t<td>MedicationStatement:medication</td>\n\t\t\t\t\t</tr>\n\t\t\t\t</tbody>\n\t\t\t</table>\n\t\t\t<h4 id=\"resource--details\">Resource Details:</h4>\n\t\t\t<h5 id=\"medication\">1. Medication</h5>\n\t\t\t<p>Supported Profiles: <a href=\"http://hl7.org/fhir/us/core/StructureDefinition-us-core-medication.html\">US Core Medication Profile</a>\n\t\t\t</p>\n\t\t\t<h5 id=\"medicationadministration\">2. MedicationAdministration</h5>\n\t\t\t<p>Supported Profiles: <a href=\"StructureDefinition-medicationadministration.html\">US Meds MedicationAdministration Profile</a>\n\t\t\t</p>\n\t\t\t<p>Search Criteria:</p>\n\t\t\t<p>A server <strong>SHALL</strong> be capable of fetching a patient’s administered medications using one of or both:</p>\n\t\t\t<ul>\n\t\t\t\t<li>\n\t\t\t\t\t<code class=\"highlighter-rouge\">GET /MedicationAdministration?patient=[id]</code>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<code class=\"highlighter-rouge\">GET /MedicationAdministration?patient=[id]&amp;_include=MedicationAdministration:medication</code>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t\t<p>Search Parameters:</p>\n\t\t\t<table class=\"grid\">\n\t\t\t\t<thead>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<th>Conformance</th>\n\t\t\t\t\t\t<th>Parameter</th>\n\t\t\t\t\t\t<th>Type</th>\n\t\t\t\t\t\t<th>_include (see documentation)</th>\n\t\t\t\t\t\t<th>Modifiers</th>\n\t\t\t\t\t</tr>\n\t\t\t\t</thead>\n\t\t\t\t<tbody>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t<strong>SHALL</strong>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td>patient</td>\n\t\t\t\t\t\t<td>reference</td>\n\t\t\t\t\t\t<td>MedicationAdministration:medication</td>\n\t\t\t\t\t\t<td> </td>\n\t\t\t\t\t</tr>\n\t\t\t\t</tbody>\n\t\t\t</table>\n\t\t\t<h5 id=\"medicationdispense\">3. MedicationDispense</h5>\n\t\t\t<p>Supported Profiles: <a href=\"http://hl7.org/fhir/us/meds/STU1/StructureDefinition-medicationdispense.html\">US Meds MedicationDispense Profile</a>\n\t\t\t</p>\n\t\t\t<p>Search Criteria:</p>\n\t\t\t<p>A server <strong>SHALL</strong> be capable of returning a patient’s dispensed medications using one of or both:</p>\n\t\t\t<ul>\n\t\t\t\t<li>\n\t\t\t\t\t<code class=\"highlighter-rouge\">GET /MedicationDispense?patient=[id]</code>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<code class=\"highlighter-rouge\">GET /MedicationDispense?patient=[id]&amp;_include=MedicationDispense:medication</code>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t\t<table class=\"grid\">\n\t\t\t\t<thead>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<th>Conformance</th>\n\t\t\t\t\t\t<th>Parameter</th>\n\t\t\t\t\t\t<th>Type</th>\n\t\t\t\t\t\t<th>_include (see documentation)</th>\n\t\t\t\t\t\t<th>Modifiers</th>\n\t\t\t\t\t</tr>\n\t\t\t\t</thead>\n\t\t\t\t<tbody>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t<strong>SHALL</strong>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td>patient</td>\n\t\t\t\t\t\t<td>reference</td>\n\t\t\t\t\t\t<td>MedicationDispense:medication</td>\n\t\t\t\t\t\t<td> </td>\n\t\t\t\t\t</tr>\n\t\t\t\t</tbody>\n\t\t\t</table>\n\t\t\t<h5 id=\"medicationrequest\">4. MedicationRequest</h5>\n\t\t\t<p>Supported Profiles: <a href=\"http://hl7.org/fhir/us/core/StructureDefinition-us-core-medicationrequest.html\">US Core MedicationRequest Profile</a>\n\t\t\t</p>\n\t\t\t<p>Search Criteria:</p>\n\t\t\t<p>A server <strong>SHALL</strong> be capable of returning a patient’s active medications orders using one of or both:</p>\n\t\t\t<ul>\n\t\t\t\t<li>\n\t\t\t\t\t<code class=\"highlighter-rouge\">GET /MedicationRequest?patient=[id]</code>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<code class=\"highlighter-rouge\">GET /MedicationRequest?patient=[id]&amp;_include=MedicationRequest:medication</code>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t\t<p>Search Parameters:</p>\n\t\t\t<table class=\"grid\">\n\t\t\t\t<thead>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<th>Conformance</th>\n\t\t\t\t\t\t<th>Parameter</th>\n\t\t\t\t\t\t<th>Type</th>\n\t\t\t\t\t\t<th>_include (see documentation)</th>\n\t\t\t\t\t\t<th>Modifiers</th>\n\t\t\t\t\t</tr>\n\t\t\t\t</thead>\n\t\t\t\t<tbody>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t<strong>SHALL</strong>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td>status + status</td>\n\t\t\t\t\t\t<td>reference + token</td>\n\t\t\t\t\t\t<td>MedicationRequest:medication</td>\n\t\t\t\t\t\t<td> </td>\n\t\t\t\t\t</tr>\n\t\t\t\t</tbody>\n\t\t\t</table>\n\t\t\t<h5 id=\"medicationstatement\">5. MedicationStatement</h5>\n\t\t\t<p>Supported Profiles: <a href=\"http://hl7.org/fhir/us/core/StructureDefinition-us-core-medicationstatement.html\">US Core MedicationStatement Profile</a>\n\t\t\t</p>\n\t\t\t<p>Search Criteria:</p>\n\t\t\t<p>A server <strong>SHALL</strong> be capable of returning all medications for a patient using one of or both:</p>\n\t\t\t<ul>\n\t\t\t\t<li>\n\t\t\t\t\t<code class=\"highlighter-rouge\">GET /MedicationStatement?patient=[id]</code>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<code class=\"highlighter-rouge\">GET /MedicationStatement?patient=[id]&amp;_include=MedicationStatement:medication</code>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t\t<p>A server <strong>SHALL</strong> be capable of returning all active medications for a patient using:</p>\n\t\t\t<ul>\n\t\t\t\t<li>\n\t\t\t\t\t<code class=\"highlighter-rouge\">GET /MedicationStatement?patient=[id]&amp;status=active</code>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<code class=\"highlighter-rouge\">GET /MedicationStatement?patient=[id]&amp;status=active&amp;_include=MedicationStatement:medication</code>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t\t<p>A server <strong>SHALL</strong> be capable of returning all medications for a patient for an encounter using:</p>\n\t\t\t<ul>\n\t\t\t\t<li>\n\t\t\t\t\t<code class=\"highlighter-rouge\">GET /MedicationStatement?patient=[id]&amp;context=[id]</code>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<code class=\"highlighter-rouge\">GET /MedicationStatement?patient=[id]&amp;context=[id]&amp;_include=MedicationStatement:medication</code>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t\t<p>Search Parameters:</p>\n\t\t\t<table class=\"grid\">\n\t\t\t\t<thead>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<th>Conformance</th>\n\t\t\t\t\t\t<th>Parameter</th>\n\t\t\t\t\t\t<th>Type</th>\n\t\t\t\t\t\t<th>_include (see documentation)</th>\n\t\t\t\t\t\t<th>Modifiers</th>\n\t\t\t\t\t</tr>\n\t\t\t\t</thead>\n\t\t\t\t<tbody>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t<strong>SHALL</strong>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td>patient</td>\n\t\t\t\t\t\t<td>reference</td>\n\t\t\t\t\t\t<td>MedicationStatement:medication</td>\n\t\t\t\t\t\t<td> </td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t<strong>SHALL</strong>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td>patient + status</td>\n\t\t\t\t\t\t<td>reference + token</td>\n\t\t\t\t\t\t<td>MedicationStatement:medication</td>\n\t\t\t\t\t\t<td> </td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t<strong>SHALL</strong>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td>patient + context</td>\n\t\t\t\t\t\t<td>reference</td>\n\t\t\t\t\t\t<td>MedicationStatement:medication</td>\n\t\t\t\t\t\t<td> </td>\n\t\t\t\t\t</tr>\n\t\t\t\t</tbody>\n\t\t\t</table>\n\t\t\t<p>\n\t\t\t\t<br/>\n\t\t\t</p>\n\t\t</div>"
  },
  "url" : "http://hl7.org/fhir/us/meds/CapabilityStatement/server",
  "version" : "1.2.0",
  "name" : "US Meds Server",
  "status" : "draft",
  "date" : "2017-03-08T00:00:00-05:00",
  "publisher" : "Health Level Seven International Pharmacy Work Group",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "other",
          "value" : "http://www.hl7.org/Special/committees/medication/index.cfm"
        }
      ]
    }
  ],
  "description" : "This resource defines the expected capabilities of the US Meds Server actor when conforming to the US Meds IG and It is expected that it will be used in conjuction with the US Core CapabilityStatement. Together they describe the complete list of actual profiles, RESTful operations, and search parameters supported by US Meds Servers. US Meds Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.",
  "kind" : "requirements",
  "fhirVersion" : "3.0.0",
  "format" : [
    "xml",
    "json"
  ],
  "rest" : [
    {
      "mode" : "server",
      "resource" : [
        {
          "type" : "Medication",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "search-type",
              "documentation" : "IF the Medication Resource is used in a MedicationStatement or a MedicationRequest. Allows discovery of existing US Core Medication resources using different search criteria."
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "read",
              "documentation" : "IF the Medication Resource is used in a MedicationStatement or a MedicationRequest. Allows retrieval of a specific US Core Medication by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to US Core Medication instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a US Core Medication instance"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing US Core medicationadmnistration resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific US Core medicationadmnistration by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to US Core medicationadmnistration instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a US Core medicationadmnistration instance"
            }
          ],
          "searchInclude" : [
            "MedicationAdministration:medication"
          ],
          "searchParam" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "name" : "patient",
              "definition" : "http://hl7.org/fhir/SearchParameter/medications-patient",
              "type" : "reference"
            }
          ]
        },
        {
          "type" : "MedicationDispense",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing US Core medicationdispense resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific US Core medicationdispense by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to US Core medicationdispense instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a US Core medicationdispense instance"
            }
          ],
          "searchInclude" : [
            "MedicationDispense:medication"
          ],
          "searchParam" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "name" : "patient",
              "definition" : "http://hl7.org/fhir/SearchParameter/medications-patient",
              "type" : "reference"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "required",
                  "valueString" : "patient"
                },
                {
                  "url" : "required",
                  "valueString" : "status"
                }
              ],
              "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
            }
          ],
          "type" : "MedicationRequest",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing US Core medicationrequest resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific US Core medicationrequest by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to US Core medicationrequest instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a US Core medicationrequest instance"
            }
          ],
          "searchInclude" : [
            "MedicationRequest:medication"
          ],
          "searchParam" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "name" : "patient",
              "definition" : "http://hl7.org/fhir/SearchParameter/medications-patient",
              "type" : "reference"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "name" : "status",
              "definition" : "http://hl7.org/fhir/SearchParameter/medications-status",
              "type" : "token"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "required",
                  "valueString" : "patient"
                },
                {
                  "url" : "required",
                  "valueString" : "status"
                }
              ],
              "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
            },
            {
              "extension" : [
                {
                  "url" : "required",
                  "valueString" : "patient"
                },
                {
                  "url" : "required",
                  "valueString" : "context"
                }
              ],
              "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
            }
          ],
          "type" : "MedicationStatement",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing US Core medicationstatement resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific US Core medicationstatement by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to US Core medicationstatement instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a US Core medicationstatement instance"
            }
          ],
          "searchInclude" : [
            "MedicationStatement:medication"
          ],
          "searchParam" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "name" : "patient",
              "definition" : "http://hl7.org/fhir/SearchParameter/medications-patient",
              "type" : "reference"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "name" : "status",
              "definition" : "http://hl7.org/fhir/SearchParameter/medications-status",
              "type" : "token"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "name" : "context",
              "definition" : "http://hl7.org/fhir/SearchParameter/MedicationStatement-context",
              "type" : "reference"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "name" : "category",
              "definition" : "http://hl7.org/fhir/SearchParameter/MedicationStatement-category",
              "type" : "reference"
            }
          ]
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.